package com.jgp.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("com.jgp.service")
@PropertySource("classpath:jdbc.properties")
@Import({jdbcconfig.class,mybatiesconfig.class})
//事务注解启动
@EnableTransactionManagement
public class SpringConfig {
}
